package com.itheima.pojo;

import java.util.Arrays;

public class PageBody {
    private Long  total;
    private Object[] rows;

    public PageBody() {
    }

    public PageBody(Long total, Object[] rows) {
        this.total = total;
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "PageBody{" +
                "total=" + total +
                ", rows=" + Arrays.toString(rows) +
                '}';
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Object[] getRows() {
        return rows;
    }

    public void setRows(Object[] rows) {
        this.rows = rows;
    }
}
